package com.example.ploy4j.repository;

import com.example.ploy4j.entity.ServerConfig;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface ServerConfigRepository extends JpaRepository<ServerConfig, Long> {
    Optional<ServerConfig> findByName(String name);
} 